package com.acme.bankapp.domain.bank;


public abstract class AbstractAccount implements Account {

    protected double balance;

    public double getBalance() {
        return this.balance;
    }

    public void deposit(double x) {

        this.balance += x;
    }

    public abstract boolean withdraw(double x);

}